.class public Lcom/netease/newsreader/activity/ShareToMicroBlog;
.super Lcom/netease/newsreader/activity/BaseActivity;
.source "ShareToMicroBlog.java"


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lcom/netease/newsreader/activity/ShareToMicroBlog$postEditMessage;,
        Lcom/netease/newsreader/activity/ShareToMicroBlog$postEditMessage4QQ;,
        Lcom/netease/newsreader/activity/ShareToMicroBlog$postEditMessage4Renren;,
        Lcom/netease/newsreader/activity/ShareToMicroBlog$postEditMessage4Sina;,
        Lcom/netease/newsreader/activity/ShareToMicroBlog$postEditMessage4Ydnote;,
        Lcom/netease/newsreader/activity/ShareToMicroBlog$postEditMessage4netease;
    }
.end annotation


# instance fields
.field private accountInfo:Landroid/widget/TextView;

.field private board:Ljava/lang/String;

.field private cancelListener:Landroid/view/View$OnClickListener;

.field private cookie:Ljava/lang/String;

.field private descLayout:Landroid/widget/RelativeLayout;

.field private do_postmicroblog_button:Landroid/widget/Button;

.field private edit_postmessage:Landroid/widget/EditText;

.field httpHandler:Landroid/os/Handler;

.field private imgname:Ljava/lang/String;

.field private isBindAccount:Z

.field private ispic:Z

.field private leave_size:Landroid/widget/TextView;

.field private leave_size3:Landroid/widget/TextView;

.field private limit1:I

.field private limit2:I

.field private mRenren:Lcom/renren/api/connect/android/Renren;

.field private message:Ljava/lang/String;

.field private messageyd:Ljava/lang/String;

.field private picurl:Ljava/lang/String;

.field private pnum:Ljava/lang/String;

.field private postid:Ljava/lang/String;

.field private postmessageListener:Landroid/view/View$OnClickListener;

.field reflashormoreDataHandler:Landroid/os/Handler;

.field private set_prefs:Landroid/content/SharedPreferences;

.field private seturl:Ljava/lang/String;

.field private share_photo_img:Landroid/widget/ImageView;

.field private share_wb_title:Landroid/widget/TextView;

.field private shareend:Ljava/lang/String;

.field private sharefloor:Z

.field private shareimg:Ljava/lang/String;

.field private sharetitle:Ljava/lang/String;

.field private sharetitleyd:Ljava/lang/String;

.field private sharetype:I

.field private shareurl:Ljava/lang/String;

.field private tie:Z

.field private token:Ljava/lang/String;

.field private tokenSecret:Ljava/lang/String;


# direct methods
.method public constructor <init>()V
    .locals 2

    .prologue
    const/4 v1, 0x0

    .line 76
    invoke-direct {p0}, Lcom/netease/newsreader/activity/BaseActivity;-><init>()V

    .line 81
    const-string v0, ""

    iput-object v0, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->message:Ljava/lang/String;

    .line 82
    const-string v0, ""

    iput-object v0, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->messageyd:Ljava/lang/String;

    .line 85
    const-string v0, ""

    iput-object v0, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->cookie:Ljava/lang/String;

    .line 86
    const-string v0, ""

    iput-object v0, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->picurl:Ljava/lang/String;

    .line 88
    const-string v0, ""

    iput-object v0, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->sharetitle:Ljava/lang/String;

    .line 90
    const-string v0, ""

    iput-object v0, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->shareurl:Ljava/lang/String;

    .line 91
    iput-boolean v1, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->tie:Z

    .line 92
    iput-boolean v1, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->ispic:Z

    .line 93
    iput-boolean v1, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->sharefloor:Z

    .line 94
    const-string v0, ""

    iput-object v0, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->board:Ljava/lang/String;

    .line 95
    const-string v0, ""

    iput-object v0, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->postid:Ljava/lang/String;

    .line 96
    const-string v0, ""

    iput-object v0, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->pnum:Ljava/lang/String;

    .line 97
    const-string v0, ""

    iput-object v0, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->seturl:Ljava/lang/String;

    .line 99
    const/4 v0, -0x1

    iput v0, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->sharetype:I

    .line 105
    iput-boolean v1, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->isBindAccount:Z

    .line 106
    const-string v0, ""

    iput-object v0, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->imgname:Ljava/lang/String;

    .line 111
    const-string v0, ""

    iput-object v0, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->shareend:Ljava/lang/String;

    .line 113
    const/16 v0, 0xa3

    iput v0, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->limit1:I

    .line 114
    const/16 v0, 0x8c

    iput v0, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->limit2:I

    .line 543
    new-instance v0, Lcom/netease/newsreader/activity/ShareToMicroBlog$1;

    invoke-direct {v0, p0}, Lcom/netease/newsreader/activity/ShareToMicroBlog$1;-><init>(Lcom/netease/newsreader/activity/ShareToMicroBlog;)V

    iput-object v0, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->postmessageListener:Landroid/view/View$OnClickListener;

    .line 686
    new-instance v0, Lcom/netease/newsreader/activity/ShareToMicroBlog$2;

    invoke-direct {v0, p0}, Lcom/netease/newsreader/activity/ShareToMicroBlog$2;-><init>(Lcom/netease/newsreader/activity/ShareToMicroBlog;)V

    iput-object v0, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->cancelListener:Landroid/view/View$OnClickListener;

    .line 1044
    new-instance v0, Lcom/netease/newsreader/activity/ShareToMicroBlog$3;

    invoke-direct {v0, p0}, Lcom/netease/newsreader/activity/ShareToMicroBlog$3;-><init>(Lcom/netease/newsreader/activity/ShareToMicroBlog;)V

    iput-object v0, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->reflashormoreDataHandler:Landroid/os/Handler;

    .line 1120
    new-instance v0, Lcom/netease/newsreader/activity/ShareToMicroBlog$4;

    invoke-direct {v0, p0}, Lcom/netease/newsreader/activity/ShareToMicroBlog$4;-><init>(Lcom/netease/newsreader/activity/ShareToMicroBlog;)V

    iput-object v0, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->httpHandler:Landroid/os/Handler;

    .line 76
    return-void
.end method

.method static synthetic access$0(Lcom/netease/newsreader/activity/ShareToMicroBlog;)Landroid/widget/Button;
    .locals 1
    .parameter

    .prologue
    .line 79
    iget-object v0, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->do_postmicroblog_button:Landroid/widget/Button;

    return-object v0
.end method

.method static synthetic access$1(Lcom/netease/newsreader/activity/ShareToMicroBlog;)Landroid/widget/EditText;
    .locals 1
    .parameter

    .prologue
    .line 78
    iget-object v0, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->edit_postmessage:Landroid/widget/EditText;

    return-object v0
.end method

.method static synthetic access$10(Lcom/netease/newsreader/activity/ShareToMicroBlog;)Ljava/lang/String;
    .locals 1
    .parameter

    .prologue
    .line 106
    iget-object v0, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->imgname:Ljava/lang/String;

    return-object v0
.end method

.method static synthetic access$11(Lcom/netease/newsreader/activity/ShareToMicroBlog;)V
    .locals 0
    .parameter

    .prologue
    .line 1129
    invoke-direct {p0}, Lcom/netease/newsreader/activity/ShareToMicroBlog;->setDefaultTips()V

    return-void
.end method

.method static synthetic access$12(Lcom/netease/newsreader/activity/ShareToMicroBlog;)Ljava/lang/String;
    .locals 1
    .parameter

    .prologue
    .line 86
    iget-object v0, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->picurl:Ljava/lang/String;

    return-object v0
.end method

.method static synthetic access$13(Lcom/netease/newsreader/activity/ShareToMicroBlog;)Ljava/lang/String;
    .locals 1
    .parameter

    .prologue
    .line 89
    iget-object v0, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->sharetitleyd:Ljava/lang/String;

    return-object v0
.end method

.method static synthetic access$14(Lcom/netease/newsreader/activity/ShareToMicroBlog;)Ljava/lang/String;
    .locals 1
    .parameter

    .prologue
    .line 82
    iget-object v0, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->messageyd:Ljava/lang/String;

    return-object v0
.end method

.method static synthetic access$15(Lcom/netease/newsreader/activity/ShareToMicroBlog;)Ljava/lang/String;
    .locals 1
    .parameter

    .prologue
    .line 90
    iget-object v0, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->shareurl:Ljava/lang/String;

    return-object v0
.end method

.method static synthetic access$16(Lcom/netease/newsreader/activity/ShareToMicroBlog;)Ljava/lang/String;
    .locals 1
    .parameter

    .prologue
    .line 111
    iget-object v0, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->shareend:Ljava/lang/String;

    return-object v0
.end method

.method static synthetic access$17(Lcom/netease/newsreader/activity/ShareToMicroBlog;Ljava/lang/String;)V
    .locals 0
    .parameter
    .parameter

    .prologue
    .line 82
    iput-object p1, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->messageyd:Ljava/lang/String;

    return-void
.end method

.method static synthetic access$18(Lcom/netease/newsreader/activity/ShareToMicroBlog;)Landroid/widget/TextView;
    .locals 1
    .parameter

    .prologue
    .line 108
    iget-object v0, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->leave_size3:Landroid/widget/TextView;

    return-object v0
.end method

.method static synthetic access$19(Lcom/netease/newsreader/activity/ShareToMicroBlog;)Landroid/widget/TextView;
    .locals 1
    .parameter

    .prologue
    .line 102
    iget-object v0, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->leave_size:Landroid/widget/TextView;

    return-object v0
.end method

.method static synthetic access$2(Lcom/netease/newsreader/activity/ShareToMicroBlog;Ljava/lang/String;)V
    .locals 0
    .parameter
    .parameter

    .prologue
    .line 81
    iput-object p1, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->message:Ljava/lang/String;

    return-void
.end method

.method static synthetic access$20(Lcom/netease/newsreader/activity/ShareToMicroBlog;)Ljava/lang/String;
    .locals 1
    .parameter

    .prologue
    .line 85
    iget-object v0, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->cookie:Ljava/lang/String;

    return-object v0
.end method

.method static synthetic access$21(Lcom/netease/newsreader/activity/ShareToMicroBlog;)Lcom/renren/api/connect/android/Renren;
    .locals 1
    .parameter

    .prologue
    .line 112
    iget-object v0, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->mRenren:Lcom/renren/api/connect/android/Renren;

    return-object v0
.end method

.method static synthetic access$22(Lcom/netease/newsreader/activity/ShareToMicroBlog;)Landroid/content/SharedPreferences;
    .locals 1
    .parameter

    .prologue
    .line 87
    iget-object v0, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->set_prefs:Landroid/content/SharedPreferences;

    return-object v0
.end method

.method static synthetic access$3(Lcom/netease/newsreader/activity/ShareToMicroBlog;)Ljava/lang/String;
    .locals 1
    .parameter

    .prologue
    .line 81
    iget-object v0, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->message:Ljava/lang/String;

    return-object v0
.end method

.method static synthetic access$4(Lcom/netease/newsreader/activity/ShareToMicroBlog;)I
    .locals 1
    .parameter

    .prologue
    .line 99
    iget v0, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->sharetype:I

    return v0
.end method

.method static synthetic access$5(Lcom/netease/newsreader/activity/ShareToMicroBlog;)I
    .locals 1
    .parameter

    .prologue
    .line 113
    iget v0, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->limit1:I

    return v0
.end method

.method static synthetic access$6(Lcom/netease/newsreader/activity/ShareToMicroBlog;)I
    .locals 1
    .parameter

    .prologue
    .line 114
    iget v0, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->limit2:I

    return v0
.end method

.method static synthetic access$7(Lcom/netease/newsreader/activity/ShareToMicroBlog;)Z
    .locals 1
    .parameter

    .prologue
    .line 105
    iget-boolean v0, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->isBindAccount:Z

    return v0
.end method

.method static synthetic access$8(Lcom/netease/newsreader/activity/ShareToMicroBlog;)Ljava/lang/String;
    .locals 1
    .parameter

    .prologue
    .line 103
    iget-object v0, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->token:Ljava/lang/String;

    return-object v0
.end method

.method static synthetic access$9(Lcom/netease/newsreader/activity/ShareToMicroBlog;)Ljava/lang/String;
    .locals 1
    .parameter

    .prologue
    .line 104
    iget-object v0, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->tokenSecret:Ljava/lang/String;

    return-object v0
.end method

.method private findViewsById()V
    .locals 2

    .prologue
    .line 483
    const v0, 0x7f0c013b

    invoke-virtual {p0, v0}, Lcom/netease/newsreader/activity/ShareToMicroBlog;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->share_wb_title:Landroid/widget/TextView;

    .line 484
    const v0, 0x7f0c013c

    invoke-virtual {p0, v0}, Lcom/netease/newsreader/activity/ShareToMicroBlog;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/EditText;

    iput-object v0, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->edit_postmessage:Landroid/widget/EditText;

    .line 485
    const v0, 0x7f0c0143

    invoke-virtual {p0, v0}, Lcom/netease/newsreader/activity/ShareToMicroBlog;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/Button;

    iput-object v0, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->do_postmicroblog_button:Landroid/widget/Button;

    .line 487
    const v0, 0x7f0c013d

    invoke-virtual {p0, v0}, Lcom/netease/newsreader/activity/ShareToMicroBlog;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/RelativeLayout;

    iput-object v0, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->descLayout:Landroid/widget/RelativeLayout;

    .line 488
    iget-object v0, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->descLayout:Landroid/widget/RelativeLayout;

    const v1, 0x7f0c013e

    invoke-virtual {v0, v1}, Landroid/widget/RelativeLayout;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->accountInfo:Landroid/widget/TextView;

    .line 489
    iget-object v0, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->descLayout:Landroid/widget/RelativeLayout;

    const v1, 0x7f0c0140

    invoke-virtual {v0, v1}, Landroid/widget/RelativeLayout;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->leave_size:Landroid/widget/TextView;

    .line 490
    iget-object v0, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->descLayout:Landroid/widget/RelativeLayout;

    const v1, 0x7f0c0141

    invoke-virtual {v0, v1}, Landroid/widget/RelativeLayout;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->leave_size3:Landroid/widget/TextView;

    .line 491
    iget-object v0, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->descLayout:Landroid/widget/RelativeLayout;

    const v1, 0x7f0c0142

    invoke-virtual {v0, v1}, Landroid/widget/RelativeLayout;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->share_photo_img:Landroid/widget/ImageView;

    .line 492
    return-void
.end method

.method private initAccount()V
    .locals 8

    .prologue
    const/16 v7, 0x8

    const/4 v5, 0x1

    const/4 v6, 0x0

    .line 291
    const-string v2, ""

    .line 293
    .local v2, sql:Ljava/lang/String;
    iget v3, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->sharetype:I

    if-nez v3, :cond_5

    .line 295
    iget-object v3, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->share_wb_title:Landroid/widget/TextView;

    const-string v4, "\u5206\u4eab\u5230\u7f51\u6613\u5fae\u535a"

    invoke-virtual {v3, v4}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 296
    const-string v2, "select * from oauth_list where oauth_type=\'netease\'"

    .line 299
    iget-object v3, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->db:Landroid/database/sqlite/SQLiteDatabase;

    new-array v4, v6, [Ljava/lang/String;

    invoke-virtual {v3, v2, v4}, Landroid/database/sqlite/SQLiteDatabase;->rawQuery(Ljava/lang/String;[Ljava/lang/String;)Landroid/database/Cursor;

    move-result-object v0

    .line 300
    .local v0, cursor:Landroid/database/Cursor;
    if-eqz v0, :cond_3

    invoke-interface {v0}, Landroid/database/Cursor;->getCount()I

    move-result v3

    if-eqz v3, :cond_3

    .line 301
    invoke-interface {v0}, Landroid/database/Cursor;->moveToFirst()Z

    .line 302
    const-string v3, "oauth_token"

    invoke-interface {v0, v3}, Landroid/database/Cursor;->getColumnIndex(Ljava/lang/String;)I

    move-result v3

    invoke-interface {v0, v3}, Landroid/database/Cursor;->getString(I)Ljava/lang/String;

    move-result-object v3

    iput-object v3, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->token:Ljava/lang/String;

    .line 303
    const-string v3, "oauth_token_secret"

    invoke-interface {v0, v3}, Landroid/database/Cursor;->getColumnIndex(Ljava/lang/String;)I

    move-result v3

    invoke-interface {v0, v3}, Landroid/database/Cursor;->getString(I)Ljava/lang/String;

    move-result-object v3

    iput-object v3, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->tokenSecret:Ljava/lang/String;

    .line 304
    const-string v3, "oauth_name"

    invoke-interface {v0, v3}, Landroid/database/Cursor;->getColumnIndex(Ljava/lang/String;)I

    move-result v3

    invoke-interface {v0, v3}, Landroid/database/Cursor;->getString(I)Ljava/lang/String;

    move-result-object v1

    .line 306
    .local v1, name:Ljava/lang/String;
    iput-boolean v5, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->isBindAccount:Z

    .line 307
    if-eqz v1, :cond_2

    const-string v3, ""

    invoke-virtual {v1, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v3

    if-nez v3, :cond_2

    .line 308
    iget-object v3, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->accountInfo:Landroid/widget/TextView;

    new-instance v4, Ljava/lang/StringBuilder;

    invoke-static {v1}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v5

    invoke-direct {v4, v5}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v5, " [@\u7f51\u6613]"

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    invoke-virtual {v4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v3, v4}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 318
    .end local v1           #name:Ljava/lang/String;
    :goto_0
    if-eqz v0, :cond_0

    invoke-interface {v0}, Landroid/database/Cursor;->close()V

    .line 320
    :cond_0
    iget-object v3, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->imgname:Ljava/lang/String;

    if-eqz v3, :cond_4

    iget-object v3, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->imgname:Ljava/lang/String;

    const-string v4, ""

    invoke-virtual {v3, v4}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v3

    if-nez v3, :cond_4

    iget-object v3, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->share_photo_img:Landroid/widget/ImageView;

    invoke-virtual {v3, v6}, Landroid/widget/ImageView;->setVisibility(I)V

    .line 461
    .end local v0           #cursor:Landroid/database/Cursor;
    :cond_1
    :goto_1
    return-void

    .line 311
    .restart local v0       #cursor:Landroid/database/Cursor;
    .restart local v1       #name:Ljava/lang/String;
    :cond_2
    iget-object v3, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->accountInfo:Landroid/widget/TextView;

    const-string v4, "\u5df2\u7ed1\u5b9a\u5e10\u53f7 [@\u7f51\u6613]"

    invoke-virtual {v3, v4}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    goto :goto_0

    .line 315
    .end local v1           #name:Ljava/lang/String;
    :cond_3
    iput-boolean v6, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->isBindAccount:Z

    .line 316
    iget-object v3, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->accountInfo:Landroid/widget/TextView;

    const-string v4, "\u5c1a\u672a\u7ed1\u5b9a\u5e10\u53f7"

    invoke-virtual {v3, v4}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    goto :goto_0

    .line 321
    :cond_4
    iget-object v3, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->share_photo_img:Landroid/widget/ImageView;

    invoke-virtual {v3, v7}, Landroid/widget/ImageView;->setVisibility(I)V

    goto :goto_1

    .line 325
    .end local v0           #cursor:Landroid/database/Cursor;
    :cond_5
    iget v3, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->sharetype:I

    if-ne v3, v5, :cond_a

    .line 327
    iget-object v3, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->share_wb_title:Landroid/widget/TextView;

    const-string v4, "\u5206\u4eab\u5230\u65b0\u6d6a\u5fae\u535a"

    invoke-virtual {v3, v4}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 328
    const-string v2, "select * from oauth_list where oauth_type=\'sina\'"

    .line 331
    iget-object v3, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->db:Landroid/database/sqlite/SQLiteDatabase;

    new-array v4, v6, [Ljava/lang/String;

    invoke-virtual {v3, v2, v4}, Landroid/database/sqlite/SQLiteDatabase;->rawQuery(Ljava/lang/String;[Ljava/lang/String;)Landroid/database/Cursor;

    move-result-object v0

    .line 332
    .restart local v0       #cursor:Landroid/database/Cursor;
    if-eqz v0, :cond_8

    invoke-interface {v0}, Landroid/database/Cursor;->getCount()I

    move-result v3

    if-eqz v3, :cond_8

    .line 333
    invoke-interface {v0}, Landroid/database/Cursor;->moveToFirst()Z

    .line 334
    const-string v3, "oauth_token"

    invoke-interface {v0, v3}, Landroid/database/Cursor;->getColumnIndex(Ljava/lang/String;)I

    move-result v3

    invoke-interface {v0, v3}, Landroid/database/Cursor;->getString(I)Ljava/lang/String;

    move-result-object v3

    iput-object v3, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->token:Ljava/lang/String;

    .line 335
    const-string v3, "oauth_token_secret"

    invoke-interface {v0, v3}, Landroid/database/Cursor;->getColumnIndex(Ljava/lang/String;)I

    move-result v3

    invoke-interface {v0, v3}, Landroid/database/Cursor;->getString(I)Ljava/lang/String;

    move-result-object v3

    iput-object v3, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->tokenSecret:Ljava/lang/String;

    .line 336
    const-string v3, "oauth_name"

    invoke-interface {v0, v3}, Landroid/database/Cursor;->getColumnIndex(Ljava/lang/String;)I

    move-result v3

    invoke-interface {v0, v3}, Landroid/database/Cursor;->getString(I)Ljava/lang/String;

    move-result-object v1

    .line 338
    .restart local v1       #name:Ljava/lang/String;
    iput-boolean v5, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->isBindAccount:Z

    .line 339
    if-eqz v1, :cond_7

    const-string v3, ""

    invoke-virtual {v1, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v3

    if-nez v3, :cond_7

    .line 340
    iget-object v3, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->accountInfo:Landroid/widget/TextView;

    new-instance v4, Ljava/lang/StringBuilder;

    invoke-static {v1}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v5

    invoke-direct {v4, v5}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v5, " [@\u65b0\u6d6a]"

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    invoke-virtual {v4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v3, v4}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 349
    .end local v1           #name:Ljava/lang/String;
    :goto_2
    if-eqz v0, :cond_6

    invoke-interface {v0}, Landroid/database/Cursor;->close()V

    .line 351
    :cond_6
    iget-object v3, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->imgname:Ljava/lang/String;

    if-eqz v3, :cond_9

    iget-object v3, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->imgname:Ljava/lang/String;

    const-string v4, ""

    invoke-virtual {v3, v4}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v3

    if-nez v3, :cond_9

    iget-object v3, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->share_photo_img:Landroid/widget/ImageView;

    invoke-virtual {v3, v6}, Landroid/widget/ImageView;->setVisibility(I)V

    goto/16 :goto_1

    .line 343
    .restart local v1       #name:Ljava/lang/String;
    :cond_7
    iget-object v3, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->accountInfo:Landroid/widget/TextView;

    const-string v4, "\u5df2\u7ed1\u5b9a\u5e10\u53f7 [@\u65b0\u6d6a]"

    invoke-virtual {v3, v4}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    goto :goto_2

    .line 346
    .end local v1           #name:Ljava/lang/String;
    :cond_8
    iput-boolean v6, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->isBindAccount:Z

    .line 347
    iget-object v3, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->accountInfo:Landroid/widget/TextView;

    const-string v4, "\u5c1a\u672a\u7ed1\u5b9a\u5e10\u53f7"

    invoke-virtual {v3, v4}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    goto :goto_2

    .line 352
    :cond_9
    iget-object v3, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->share_photo_img:Landroid/widget/ImageView;

    invoke-virtual {v3, v7}, Landroid/widget/ImageView;->setVisibility(I)V

    goto/16 :goto_1

    .line 356
    .end local v0           #cursor:Landroid/database/Cursor;
    :cond_a
    iget v3, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->sharetype:I

    const/4 v4, 0x2

    if-ne v3, v4, :cond_f

    .line 357
    iget-object v3, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->share_wb_title:Landroid/widget/TextView;

    const-string v4, "\u5206\u4eab\u5230\u817e\u8baf\u5fae\u535a"

    invoke-virtual {v3, v4}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 358
    const-string v2, "select * from oauth_list where oauth_type=\'qq\'"

    .line 361
    iget-object v3, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->db:Landroid/database/sqlite/SQLiteDatabase;

    new-array v4, v6, [Ljava/lang/String;

    invoke-virtual {v3, v2, v4}, Landroid/database/sqlite/SQLiteDatabase;->rawQuery(Ljava/lang/String;[Ljava/lang/String;)Landroid/database/Cursor;

    move-result-object v0

    .line 362
    .restart local v0       #cursor:Landroid/database/Cursor;
    if-eqz v0, :cond_d

    invoke-interface {v0}, Landroid/database/Cursor;->getCount()I

    move-result v3

    if-eqz v3, :cond_d

    .line 363
    invoke-interface {v0}, Landroid/database/Cursor;->moveToFirst()Z

    .line 364
    const-string v3, "oauth_token"

    invoke-interface {v0, v3}, Landroid/database/Cursor;->getColumnIndex(Ljava/lang/String;)I

    move-result v3

    invoke-interface {v0, v3}, Landroid/database/Cursor;->getString(I)Ljava/lang/String;

    move-result-object v3

    iput-object v3, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->token:Ljava/lang/String;

    .line 365
    const-string v3, "oauth_token_secret"

    invoke-interface {v0, v3}, Landroid/database/Cursor;->getColumnIndex(Ljava/lang/String;)I

    move-result v3

    invoke-interface {v0, v3}, Landroid/database/Cursor;->getString(I)Ljava/lang/String;

    move-result-object v3

    iput-object v3, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->tokenSecret:Ljava/lang/String;

    .line 366
    const-string v3, "oauth_name"

    invoke-interface {v0, v3}, Landroid/database/Cursor;->getColumnIndex(Ljava/lang/String;)I

    move-result v3

    invoke-interface {v0, v3}, Landroid/database/Cursor;->getString(I)Ljava/lang/String;

    move-result-object v1

    .line 368
    .restart local v1       #name:Ljava/lang/String;
    iput-boolean v5, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->isBindAccount:Z

    .line 369
    if-eqz v1, :cond_c

    const-string v3, ""

    invoke-virtual {v1, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v3

    if-nez v3, :cond_c

    iget-object v3, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->accountInfo:Landroid/widget/TextView;

    new-instance v4, Ljava/lang/StringBuilder;

    invoke-static {v1}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v5

    invoke-direct {v4, v5}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v5, " [@\u817e\u8baf]"

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    invoke-virtual {v4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v3, v4}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 375
    .end local v1           #name:Ljava/lang/String;
    :goto_3
    if-eqz v0, :cond_b

    invoke-interface {v0}, Landroid/database/Cursor;->close()V

    .line 377
    :cond_b
    iget-object v3, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->imgname:Ljava/lang/String;

    if-eqz v3, :cond_e

    iget-object v3, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->imgname:Ljava/lang/String;

    const-string v4, ""

    invoke-virtual {v3, v4}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v3

    if-nez v3, :cond_e

    iget-object v3, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->share_photo_img:Landroid/widget/ImageView;

    invoke-virtual {v3, v6}, Landroid/widget/ImageView;->setVisibility(I)V

    goto/16 :goto_1

    .line 370
    .restart local v1       #name:Ljava/lang/String;
    :cond_c
    iget-object v3, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->accountInfo:Landroid/widget/TextView;

    const-string v4, "\u5df2\u7ed1\u5b9a\u5e10\u53f7 [@\u817e\u8baf]"

    invoke-virtual {v3, v4}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    goto :goto_3

    .line 372
    .end local v1           #name:Ljava/lang/String;
    :cond_d
    iput-boolean v6, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->isBindAccount:Z

    .line 373
    iget-object v3, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->accountInfo:Landroid/widget/TextView;

    const-string v4, "\u5c1a\u672a\u7ed1\u5b9a\u5e10\u53f7"

    invoke-virtual {v3, v4}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    goto :goto_3

    .line 378
    :cond_e
    iget-object v3, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->share_photo_img:Landroid/widget/ImageView;

    invoke-virtual {v3, v7}, Landroid/widget/ImageView;->setVisibility(I)V

    goto/16 :goto_1

    .line 380
    .end local v0           #cursor:Landroid/database/Cursor;
    :cond_f
    iget v3, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->sharetype:I

    const/4 v4, 0x3

    if-ne v3, v4, :cond_15

    .line 382
    iget-object v3, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->share_wb_title:Landroid/widget/TextView;

    const-string v4, "\u5206\u4eab\u5230\u4eba\u4eba\u7f51"

    invoke-virtual {v3, v4}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 383
    const-string v2, "select * from oauth_list where oauth_type=\'renren\'"

    .line 386
    iget-object v3, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->db:Landroid/database/sqlite/SQLiteDatabase;

    new-array v4, v6, [Ljava/lang/String;

    invoke-virtual {v3, v2, v4}, Landroid/database/sqlite/SQLiteDatabase;->rawQuery(Ljava/lang/String;[Ljava/lang/String;)Landroid/database/Cursor;

    move-result-object v0

    .line 387
    .restart local v0       #cursor:Landroid/database/Cursor;
    if-eqz v0, :cond_12

    invoke-interface {v0}, Landroid/database/Cursor;->getCount()I

    move-result v3

    if-eqz v3, :cond_12

    .line 388
    invoke-interface {v0}, Landroid/database/Cursor;->moveToFirst()Z

    .line 389
    const-string v3, "oauth_token"

    invoke-interface {v0, v3}, Landroid/database/Cursor;->getColumnIndex(Ljava/lang/String;)I

    move-result v3

    invoke-interface {v0, v3}, Landroid/database/Cursor;->getString(I)Ljava/lang/String;

    move-result-object v3

    iput-object v3, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->token:Ljava/lang/String;

    .line 390
    const-string v3, "oauth_token_secret"

    invoke-interface {v0, v3}, Landroid/database/Cursor;->getColumnIndex(Ljava/lang/String;)I

    move-result v3

    invoke-interface {v0, v3}, Landroid/database/Cursor;->getString(I)Ljava/lang/String;

    move-result-object v3

    iput-object v3, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->tokenSecret:Ljava/lang/String;

    .line 391
    const-string v3, "oauth_name"

    invoke-interface {v0, v3}, Landroid/database/Cursor;->getColumnIndex(Ljava/lang/String;)I

    move-result v3

    invoke-interface {v0, v3}, Landroid/database/Cursor;->getString(I)Ljava/lang/String;

    move-result-object v1

    .line 393
    .restart local v1       #name:Ljava/lang/String;
    iput-boolean v5, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->isBindAccount:Z

    .line 394
    if-eqz v1, :cond_11

    const-string v3, ""

    invoke-virtual {v1, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v3

    if-nez v3, :cond_11

    .line 395
    iget-object v3, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->accountInfo:Landroid/widget/TextView;

    new-instance v4, Ljava/lang/StringBuilder;

    invoke-static {v1}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v5

    invoke-direct {v4, v5}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v5, " [@\u4eba\u4eba\u7f51]"

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    invoke-virtual {v4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v3, v4}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 405
    .end local v1           #name:Ljava/lang/String;
    :goto_4
    if-eqz v0, :cond_10

    invoke-interface {v0}, Landroid/database/Cursor;->close()V

    .line 407
    :cond_10
    iget-object v3, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->imgname:Ljava/lang/String;

    if-eqz v3, :cond_13

    iget-object v3, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->imgname:Ljava/lang/String;

    const-string v4, ""

    invoke-virtual {v3, v4}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v3

    if-nez v3, :cond_13

    .line 408
    iget-object v3, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->share_photo_img:Landroid/widget/ImageView;

    invoke-virtual {v3, v6}, Landroid/widget/ImageView;->setVisibility(I)V

    goto/16 :goto_1

    .line 398
    .restart local v1       #name:Ljava/lang/String;
    :cond_11
    iget-object v3, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->accountInfo:Landroid/widget/TextView;

    const-string v4, "\u5df2\u7ed1\u5b9a\u5e10\u53f7 [@\u4eba\u4eba\u7f51]"

    invoke-virtual {v3, v4}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    goto :goto_4

    .line 402
    .end local v1           #name:Ljava/lang/String;
    :cond_12
    iput-boolean v6, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->isBindAccount:Z

    .line 403
    iget-object v3, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->accountInfo:Landroid/widget/TextView;

    const-string v4, "\u5c1a\u672a\u7ed1\u5b9a\u5e10\u53f7"

    invoke-virtual {v3, v4}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    goto :goto_4

    .line 410
    :cond_13
    iget-object v3, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->share_photo_img:Landroid/widget/ImageView;

    invoke-virtual {v3, v7}, Landroid/widget/ImageView;->setVisibility(I)V

    .line 411
    iget-object v3, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->shareurl:Ljava/lang/String;

    if-eqz v3, :cond_14

    const-string v3, ""

    iget-object v4, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->shareurl:Ljava/lang/String;

    invoke-virtual {v3, v4}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v3

    if-nez v3, :cond_14

    .line 412
    iget-object v3, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->shareurl:Ljava/lang/String;

    iput-object v3, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->imgname:Ljava/lang/String;

    goto/16 :goto_1

    .line 413
    :cond_14
    iget-object v3, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->seturl:Ljava/lang/String;

    if-eqz v3, :cond_1

    const-string v3, ""

    iget-object v4, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->seturl:Ljava/lang/String;

    invoke-virtual {v3, v4}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v3

    if-nez v3, :cond_1

    .line 414
    iget-object v3, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->seturl:Ljava/lang/String;

    iput-object v3, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->imgname:Ljava/lang/String;

    goto/16 :goto_1

    .line 420
    .end local v0           #cursor:Landroid/database/Cursor;
    :cond_15
    iget v3, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->sharetype:I

    const/4 v4, 0x4

    if-ne v3, v4, :cond_1

    .line 422
    iget-object v3, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->share_wb_title:Landroid/widget/TextView;

    const-string v4, "\u5206\u4eab\u5230\u6709\u9053\u4e91\u7b14\u8bb0"

    invoke-virtual {v3, v4}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 423
    const-string v2, "select * from oauth_list where oauth_type=\'ydnote\'"

    .line 426
    iget-object v3, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->db:Landroid/database/sqlite/SQLiteDatabase;

    new-array v4, v6, [Ljava/lang/String;

    invoke-virtual {v3, v2, v4}, Landroid/database/sqlite/SQLiteDatabase;->rawQuery(Ljava/lang/String;[Ljava/lang/String;)Landroid/database/Cursor;

    move-result-object v0

    .line 427
    .restart local v0       #cursor:Landroid/database/Cursor;
    if-eqz v0, :cond_18

    invoke-interface {v0}, Landroid/database/Cursor;->getCount()I

    move-result v3

    if-eqz v3, :cond_18

    .line 428
    invoke-interface {v0}, Landroid/database/Cursor;->moveToFirst()Z

    .line 429
    const-string v3, "oauth_token"

    invoke-interface {v0, v3}, Landroid/database/Cursor;->getColumnIndex(Ljava/lang/String;)I

    move-result v3

    invoke-interface {v0, v3}, Landroid/database/Cursor;->getString(I)Ljava/lang/String;

    move-result-object v3

    iput-object v3, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->token:Ljava/lang/String;

    .line 430
    const-string v3, "oauth_token_secret"

    invoke-interface {v0, v3}, Landroid/database/Cursor;->getColumnIndex(Ljava/lang/String;)I

    move-result v3

    invoke-interface {v0, v3}, Landroid/database/Cursor;->getString(I)Ljava/lang/String;

    move-result-object v3

    iput-object v3, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->tokenSecret:Ljava/lang/String;

    .line 431
    const-string v3, "oauth_name"

    invoke-interface {v0, v3}, Landroid/database/Cursor;->getColumnIndex(Ljava/lang/String;)I

    move-result v3

    invoke-interface {v0, v3}, Landroid/database/Cursor;->getString(I)Ljava/lang/String;

    move-result-object v1

    .line 433
    .restart local v1       #name:Ljava/lang/String;
    iput-boolean v5, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->isBindAccount:Z

    .line 434
    if-eqz v1, :cond_17

    const-string v3, ""

    invoke-virtual {v1, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v3

    if-nez v3, :cond_17

    .line 435
    iget-object v3, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->accountInfo:Landroid/widget/TextView;

    new-instance v4, Ljava/lang/StringBuilder;

    invoke-static {v1}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v5

    invoke-direct {v4, v5}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v5, " [@\u6709\u9053\u4e91\u7b14\u8bb0]"

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    invoke-virtual {v4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v3, v4}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 445
    .end local v1           #name:Ljava/lang/String;
    :goto_5
    if-eqz v0, :cond_16

    invoke-interface {v0}, Landroid/database/Cursor;->close()V

    .line 447
    :cond_16
    iget-object v3, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->imgname:Ljava/lang/String;

    if-eqz v3, :cond_19

    iget-object v3, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->imgname:Ljava/lang/String;

    const-string v4, ""

    invoke-virtual {v3, v4}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v3

    if-nez v3, :cond_19

    .line 448
    iget-object v3, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->share_photo_img:Landroid/widget/ImageView;

    invoke-virtual {v3, v6}, Landroid/widget/ImageView;->setVisibility(I)V

    goto/16 :goto_1

    .line 438
    .restart local v1       #name:Ljava/lang/String;
    :cond_17
    iget-object v3, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->accountInfo:Landroid/widget/TextView;

    const-string v4, "\u5df2\u7ed1\u5b9a\u5e10\u53f7 [@\u6709\u9053\u4e91\u7b14\u8bb0]"

    invoke-virtual {v3, v4}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    goto :goto_5

    .line 442
    .end local v1           #name:Ljava/lang/String;
    :cond_18
    iput-boolean v6, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->isBindAccount:Z

    .line 443
    iget-object v3, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->accountInfo:Landroid/widget/TextView;

    const-string v4, "\u5c1a\u672a\u7ed1\u5b9a\u5e10\u53f7"

    invoke-virtual {v3, v4}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    goto :goto_5

    .line 450
    :cond_19
    iget-object v3, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->share_photo_img:Landroid/widget/ImageView;

    invoke-virtual {v3, v7}, Landroid/widget/ImageView;->setVisibility(I)V

    .line 451
    iget-object v3, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->shareurl:Ljava/lang/String;

    if-eqz v3, :cond_1a

    const-string v3, ""

    iget-object v4, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->shareurl:Ljava/lang/String;

    invoke-virtual {v3, v4}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v3

    if-nez v3, :cond_1a

    .line 452
    iget-object v3, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->shareurl:Ljava/lang/String;

    iput-object v3, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->imgname:Ljava/lang/String;

    goto/16 :goto_1

    .line 453
    :cond_1a
    iget-object v3, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->seturl:Ljava/lang/String;

    if-eqz v3, :cond_1

    const-string v3, ""

    iget-object v4, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->seturl:Ljava/lang/String;

    invoke-virtual {v3, v4}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v3

    if-nez v3, :cond_1

    .line 454
    iget-object v3, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->seturl:Ljava/lang/String;

    iput-object v3, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->imgname:Ljava/lang/String;

    goto/16 :goto_1
.end method

.method public static readFileImage(Ljava/lang/String;)[B
    .locals 6
    .parameter "filename"
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/io/IOException;
        }
    .end annotation

    .prologue
    .line 1031
    new-instance v0, Ljava/io/BufferedInputStream;

    .line 1032
    new-instance v4, Ljava/io/FileInputStream;

    invoke-direct {v4, p0}, Ljava/io/FileInputStream;-><init>(Ljava/lang/String;)V

    .line 1031
    invoke-direct {v0, v4}, Ljava/io/BufferedInputStream;-><init>(Ljava/io/InputStream;)V

    .line 1033
    .local v0, bufferedInputStream:Ljava/io/BufferedInputStream;
    invoke-virtual {v0}, Ljava/io/BufferedInputStream;->available()I

    move-result v2

    .line 1034
    .local v2, len:I
    new-array v1, v2, [B

    .line 1035
    .local v1, bytes:[B
    invoke-virtual {v0, v1}, Ljava/io/BufferedInputStream;->read([B)I

    move-result v3

    .line 1036
    .local v3, r:I
    if-eq v2, v3, :cond_0

    .line 1037
    const/4 v1, 0x0

    check-cast v1, [B

    .line 1038
    new-instance v4, Ljava/io/IOException;

    const-string v5, "\u8bfb\u53d6\u6587\u4ef6\u4e0d\u6b63\u786e"

    invoke-direct {v4, v5}, Ljava/io/IOException;-><init>(Ljava/lang/String;)V

    throw v4

    .line 1040
    :cond_0
    invoke-virtual {v0}, Ljava/io/BufferedInputStream;->close()V

    .line 1041
    return-object v1
.end method

.method private setDefaultTips()V
    .locals 3

    .prologue
    const/4 v2, 0x0

    .line 1130
    iget-object v0, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->app:Lcom/netease/newsreader/activity/MyApplication;

    invoke-static {v0}, Lcom/netease/newsreader/util/Tools;->CheckNetwork(Landroid/content/Context;)Z

    move-result v0

    if-eqz v0, :cond_0

    .line 1131
    iget-object v0, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->app:Lcom/netease/newsreader/activity/MyApplication;

    const-string v1, "\u5df2\u53d1\u9001"

    invoke-static {v0, v1, v2}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/Toast;->show()V

    .line 1135
    :goto_0
    return-void

    .line 1133
    :cond_0
    iget-object v0, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->app:Lcom/netease/newsreader/activity/MyApplication;

    const-string v1, "\u7f51\u7edc\u4e0d\u53ef\u7528"

    invoke-static {v0, v1, v2}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/Toast;->show()V

    goto :goto_0
.end method

.method private setListener()V
    .locals 2

    .prologue
    .line 496
    iget-object v0, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->do_postmicroblog_button:Landroid/widget/Button;

    iget-object v1, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->postmessageListener:Landroid/view/View$OnClickListener;

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 499
    iget v0, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->sharetype:I

    const/4 v1, 0x3

    if-eq v0, v1, :cond_0

    .line 500
    iget-object v0, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->edit_postmessage:Landroid/widget/EditText;

    new-instance v1, Lcom/netease/newsreader/activity/ShareToMicroBlog$5;

    invoke-direct {v1, p0}, Lcom/netease/newsreader/activity/ShareToMicroBlog$5;-><init>(Lcom/netease/newsreader/activity/ShareToMicroBlog;)V

    invoke-virtual {v0, v1}, Landroid/widget/EditText;->addTextChangedListener(Landroid/text/TextWatcher;)V

    .line 540
    :cond_0
    return-void
.end method


# virtual methods
.method public getShortUrl()Ljava/lang/String;
    .locals 8

    .prologue
    const/4 v7, 0x4

    .line 226
    const-string v2, ""

    .line 228
    .local v2, rst:Ljava/lang/String;
    iget-object v5, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->shareurl:Ljava/lang/String;

    if-eqz v5, :cond_0

    const-string v5, ""

    iget-object v6, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->shareurl:Ljava/lang/String;

    invoke-virtual {v5, v6}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v5

    if-nez v5, :cond_0

    .line 229
    iget v5, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->sharetype:I

    const/4 v6, 0x3

    if-ne v5, v6, :cond_3

    .line 230
    iget-boolean v5, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->ispic:Z

    if-eqz v5, :cond_1

    .line 231
    const-string v5, "www"

    iget-object v6, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->seturl:Ljava/lang/String;

    invoke-static {v5, v6, p0}, Lcom/netease/newsreader/util/HttpUtils;->getDocShortUrl(Ljava/lang/String;Ljava/lang/String;Landroid/content/Context;)Ljava/lang/String;

    move-result-object v3

    .line 232
    .local v3, shortseturl:Ljava/lang/String;
    move-object v2, v3

    .line 286
    .end local v3           #shortseturl:Ljava/lang/String;
    :cond_0
    :goto_0
    return-object v2

    .line 233
    :cond_1
    iget-boolean v5, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->sharefloor:Z

    if-eqz v5, :cond_2

    .line 234
    const-string v5, "www"

    iget-object v6, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->shareurl:Ljava/lang/String;

    invoke-static {v5, v6, p0}, Lcom/netease/newsreader/util/HttpUtils;->getDocShortUrl(Ljava/lang/String;Ljava/lang/String;Landroid/content/Context;)Ljava/lang/String;

    move-result-object v2

    goto :goto_0

    .line 236
    :cond_2
    const-string v5, "www"

    iget-object v6, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->shareurl:Ljava/lang/String;

    invoke-static {v5, v6, p0}, Lcom/netease/newsreader/util/HttpUtils;->getDocShortUrl(Ljava/lang/String;Ljava/lang/String;Landroid/content/Context;)Ljava/lang/String;

    move-result-object v2

    goto :goto_0

    .line 239
    :cond_3
    iget-boolean v5, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->ispic:Z

    if-eqz v5, :cond_5

    .line 240
    iget-object v5, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->shareurl:Ljava/lang/String;

    invoke-static {v5, p0}, Lcom/netease/newsreader/util/HttpUtils;->getImageShortUrl(Ljava/lang/String;Landroid/content/Context;)Ljava/lang/String;

    move-result-object v2

    .line 241
    const-string v5, "www"

    iget-object v6, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->seturl:Ljava/lang/String;

    invoke-static {v5, v6, p0}, Lcom/netease/newsreader/util/HttpUtils;->getDocShortUrl(Ljava/lang/String;Ljava/lang/String;Landroid/content/Context;)Ljava/lang/String;

    move-result-object v3

    .line 242
    .restart local v3       #shortseturl:Ljava/lang/String;
    iget v5, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->sharetype:I

    if-ne v5, v7, :cond_4

    .line 243
    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    .line 244
    .local v0, html:Ljava/lang/StringBuilder;
    const-string v5, "\u56fe\u96c6\u5730\u5740\uff1a<a href=\'"

    invoke-virtual {v0, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v5

    iget-object v6, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->seturl:Ljava/lang/String;

    invoke-virtual {v5, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v5

    const-string v6, "\'>"

    invoke-virtual {v5, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v5

    iget-object v6, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->seturl:Ljava/lang/String;

    invoke-virtual {v5, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v5

    const-string v6, "</a>"

    invoke-virtual {v5, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v5

    const-string v6, "\t"

    invoke-virtual {v5, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v5

    .line 245
    const-string v6, "<br/>\u56fe\u7247\uff1a<img src=\'"

    invoke-virtual {v5, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v5

    invoke-virtual {v5, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v5

    const-string v6, "\' />"

    invoke-virtual {v5, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    .line 246
    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    goto :goto_0

    .line 248
    .end local v0           #html:Ljava/lang/StringBuilder;
    :cond_4
    new-instance v5, Ljava/lang/StringBuilder;

    invoke-static {v2}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v6

    invoke-direct {v5, v6}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v6, " "

    invoke-virtual {v5, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v5

    invoke-virtual {v5, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v5

    invoke-virtual {v5}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    goto/16 :goto_0

    .line 250
    .end local v3           #shortseturl:Ljava/lang/String;
    :cond_5
    iget-boolean v5, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->sharefloor:Z

    if-eqz v5, :cond_7

    .line 252
    const-string v5, "www"

    iget-object v6, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->shareurl:Ljava/lang/String;

    invoke-static {v5, v6, p0}, Lcom/netease/newsreader/util/HttpUtils;->getDocShortUrl(Ljava/lang/String;Ljava/lang/String;Landroid/content/Context;)Ljava/lang/String;

    move-result-object v2

    .line 253
    new-instance v5, Ljava/lang/StringBuilder;

    const-string v6, "http://webshot.ws.126.net/"

    invoke-direct {v5, v6}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    iget-object v6, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->board:Ljava/lang/String;

    invoke-virtual {v5, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v5

    const-string v6, "/"

    invoke-virtual {v5, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v5

    iget-object v6, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->postid:Ljava/lang/String;

    invoke-virtual {v5, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v5

    const-string v6, "/"

    invoke-virtual {v5, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v5

    iget-object v6, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->pnum:Ljava/lang/String;

    invoke-virtual {v5, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v5

    const-string v6, ".html"

    invoke-virtual {v5, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v5

    invoke-virtual {v5}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v5

    const/16 v6, 0x1770

    invoke-static {v5, v6, p0}, Lcom/netease/newsreader/util/HttpUtils;->getResponseFromGetUrl(Ljava/lang/String;ILandroid/content/Context;)Ljava/lang/String;

    move-result-object v4

    .line 255
    .local v4, shorturl:Ljava/lang/String;
    iget v5, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->sharetype:I

    if-ne v5, v7, :cond_6

    .line 256
    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    .line 257
    .restart local v0       #html:Ljava/lang/StringBuilder;
    const-string v5, "\u8ddf\u8d34\u5730\u5740\uff1a<a href=\'"

    invoke-virtual {v0, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v5

    invoke-virtual {v5, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v5

    const-string v6, "\'>"

    invoke-virtual {v5, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v5

    invoke-virtual {v5, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v5

    const-string v6, "</a>"

    invoke-virtual {v5, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v5

    .line 258
    const-string v6, "<br/>\u8ddf\u8d34\u697c\u5c42\u622a\u56fe\uff1a<img src=\'"

    invoke-virtual {v5, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v5

    invoke-virtual {v5, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v5

    const-string v6, "\' />"

    invoke-virtual {v5, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    .line 259
    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    goto/16 :goto_0

    .line 261
    .end local v0           #html:Ljava/lang/StringBuilder;
    :cond_6
    new-instance v5, Ljava/lang/StringBuilder;

    invoke-static {v2}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v6

    invoke-direct {v5, v6}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v6, " "

    invoke-virtual {v5, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v5

    invoke-virtual {v5, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v5

    invoke-virtual {v5}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    goto/16 :goto_0

    .line 265
    .end local v4           #shorturl:Ljava/lang/String;
    :cond_7
    const-string v5, "www"

    iget-object v6, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->shareurl:Ljava/lang/String;

    invoke-static {v5, v6, p0}, Lcom/netease/newsreader/util/HttpUtils;->getDocShortUrl(Ljava/lang/String;Ljava/lang/String;Landroid/content/Context;)Ljava/lang/String;

    move-result-object v2

    .line 266
    const-string v1, ""

    .line 267
    .local v1, imgs:Ljava/lang/String;
    iget-object v5, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->shareimg:Ljava/lang/String;

    if-eqz v5, :cond_8

    const-string v5, ""

    iget-object v6, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->shareimg:Ljava/lang/String;

    invoke-virtual {v5, v6}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v5

    if-nez v5, :cond_8

    iget v5, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->sharetype:I

    if-nez v5, :cond_8

    .line 268
    iget-object v5, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->shareimg:Ljava/lang/String;

    invoke-static {v5, p0}, Lcom/netease/newsreader/util/HttpUtils;->getImageShortUrl(Ljava/lang/String;Landroid/content/Context;)Ljava/lang/String;

    move-result-object v1

    .line 270
    :cond_8
    iget v5, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->sharetype:I

    if-ne v5, v7, :cond_a

    .line 271
    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    .line 272
    .restart local v0       #html:Ljava/lang/StringBuilder;
    const-string v5, "PC\u67e5\u770b\u5730\u5740\uff1a<a href=\'"

    invoke-virtual {v0, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v5

    invoke-virtual {v5, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v5

    const-string v6, "\'>"

    invoke-virtual {v5, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v5

    invoke-virtual {v5, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v5

    const-string v6, "</a>"

    invoke-virtual {v5, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    .line 273
    const-string v5, ""

    invoke-virtual {v5, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v5

    if-nez v5, :cond_9

    .line 274
    const-string v5, "<img src=\'"

    invoke-virtual {v0, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v5

    invoke-virtual {v5, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v5

    const-string v6, "\'/>"

    invoke-virtual {v5, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    .line 276
    :cond_9
    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    goto/16 :goto_0

    .line 278
    .end local v0           #html:Ljava/lang/StringBuilder;
    :cond_a
    const-string v5, ""

    invoke-virtual {v5, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v5

    if-nez v5, :cond_0

    .line 279
    new-instance v5, Ljava/lang/StringBuilder;

    invoke-static {v2}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v6

    invoke-direct {v5, v6}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v6, " "

    invoke-virtual {v5, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v5

    invoke-virtual {v5, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v5

    invoke-virtual {v5}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    goto/16 :goto_0
.end method

.method public goBackClick(Landroid/view/View;)V
    .locals 0
    .parameter "view"

    .prologue
    .line 1138
    invoke-virtual {p0}, Lcom/netease/newsreader/activity/ShareToMicroBlog;->finish()V

    .line 1139
    return-void
.end method

.method protected onActivityResult(IILandroid/content/Intent;)V
    .locals 3
    .parameter "requestCode"
    .parameter "resultCode"
    .parameter "data"

    .prologue
    .line 465
    invoke-super {p0, p1, p2, p3}, Lcom/netease/newsreader/activity/BaseActivity;->onActivityResult(IILandroid/content/Intent;)V

    .line 466
    const-string v0, "newsreader"

    new-instance v1, Ljava/lang/StringBuilder;

    const-string v2, "ShareTo onActivityResult,requestCode:"

    invoke-direct {v1, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string v2, ",resultCode:"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1, p2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-static {v0, v1}, Landroid/util/Log;->i(Ljava/lang/String;Ljava/lang/String;)I

    .line 467
    if-nez p1, :cond_0

    const/4 v0, -0x1

    if-ne p2, v0, :cond_0

    .line 469
    invoke-direct {p0}, Lcom/netease/newsreader/activity/ShareToMicroBlog;->initAccount()V

    .line 471
    :cond_0
    return-void
.end method

.method public onApplyTheme()V
    .locals 3

    .prologue
    .line 1143
    invoke-super {p0}, Lcom/netease/newsreader/activity/BaseActivity;->onApplyTheme()V

    .line 1144
    invoke-virtual {p0}, Lcom/netease/newsreader/activity/ShareToMicroBlog;->getThemeSettingsHelper()Lcom/netease/newsreader/util/ThemeSettingsHelper;

    move-result-object v0

    .line 1145
    .local v0, themeSettingsHelper:Lcom/netease/newsreader/util/ThemeSettingsHelper;
    const/high16 v1, 0x7f0c

    const v2, 0x7f020079

    invoke-virtual {v0, p0, v1, v2}, Lcom/netease/newsreader/util/ThemeSettingsHelper;->setViewBackgroud(Landroid/app/Activity;II)V

    .line 1146
    const v1, 0x7f0c0001

    const v2, 0x7f0200fe

    invoke-virtual {v0, p0, v1, v2}, Lcom/netease/newsreader/util/ThemeSettingsHelper;->setViewBackgroud(Landroid/app/Activity;II)V

    .line 1147
    const v1, 0x7f0c013b

    const v2, 0x7f080025

    invoke-virtual {v0, p0, v1, v2}, Lcom/netease/newsreader/util/ThemeSettingsHelper;->setTextViewColor(Landroid/app/Activity;II)V

    .line 1148
    iget-object v1, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->do_postmicroblog_button:Landroid/widget/Button;

    const v2, 0x7f020086

    invoke-virtual {v0, p0, v1, v2}, Lcom/netease/newsreader/util/ThemeSettingsHelper;->setViewBackgroud(Landroid/content/Context;Landroid/view/View;I)V

    .line 1149
    iget-object v1, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->do_postmicroblog_button:Landroid/widget/Button;

    const v2, 0x7f080027

    invoke-virtual {v0, p0, v1, v2}, Lcom/netease/newsreader/util/ThemeSettingsHelper;->setTextViewColor(Landroid/content/Context;Landroid/widget/TextView;I)V

    .line 1150
    const v1, 0x7f0c0002

    const v2, 0x7f020041

    invoke-virtual {v0, p0, v1, v2}, Lcom/netease/newsreader/util/ThemeSettingsHelper;->setImageViewSrc(Landroid/app/Activity;II)V

    .line 1152
    return-void
.end method

.method protected onCreate(Landroid/os/Bundle;)V
    .locals 11
    .parameter "savedInstanceState"

    .prologue
    const/4 v10, 0x3

    const/4 v9, 0x0

    const/16 v8, 0x28

    const/4 v7, 0x4

    .line 118
    invoke-super {p0, p1}, Lcom/netease/newsreader/activity/BaseActivity;->onCreate(Landroid/os/Bundle;)V

    .line 119
    const/4 v3, 0x1

    invoke-virtual {p0, v3}, Lcom/netease/newsreader/activity/ShareToMicroBlog;->requestWindowFeature(I)Z

    .line 120
    const v3, 0x7f030062

    invoke-virtual {p0, v3}, Lcom/netease/newsreader/activity/ShareToMicroBlog;->setContentView(I)V

    .line 121
    invoke-direct {p0}, Lcom/netease/newsreader/activity/ShareToMicroBlog;->findViewsById()V

    .line 122
    iget-object v3, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->do_postmicroblog_button:Landroid/widget/Button;

    invoke-virtual {v3, v9}, Landroid/widget/Button;->setEnabled(Z)V

    .line 123
    invoke-direct {p0}, Lcom/netease/newsreader/activity/ShareToMicroBlog;->setListener()V

    .line 124
    invoke-virtual {p0}, Lcom/netease/newsreader/activity/ShareToMicroBlog;->getIntent()Landroid/content/Intent;

    move-result-object v3

    invoke-virtual {v3}, Landroid/content/Intent;->getExtras()Landroid/os/Bundle;

    move-result-object v0

    .line 125
    .local v0, bundle:Landroid/os/Bundle;
    new-instance v3, Lcom/renren/api/connect/android/Renren;

    sget-object v4, Lcom/netease/newsreader/weibo/WeiboLogin;->RENREN_API_KEY:Ljava/lang/String;

    sget-object v5, Lcom/netease/newsreader/weibo/WeiboLogin;->RENREN_SECRET_KEY:Ljava/lang/String;

    sget-object v6, Lcom/netease/newsreader/weibo/WeiboLogin;->RENREN_APP_ID:Ljava/lang/String;

    invoke-direct {v3, v4, v5, v6, p0}, Lcom/renren/api/connect/android/Renren;-><init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Landroid/content/Context;)V

    iput-object v3, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->mRenren:Lcom/renren/api/connect/android/Renren;

    .line 126
    invoke-static {p0}, Landroid/preference/PreferenceManager;->getDefaultSharedPreferences(Landroid/content/Context;)Landroid/content/SharedPreferences;

    move-result-object v3

    iput-object v3, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->set_prefs:Landroid/content/SharedPreferences;

    .line 128
    iget-object v3, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->set_prefs:Landroid/content/SharedPreferences;

    const-string v4, "cookie"

    const-string v5, "0"

    invoke-interface {v3, v4, v5}, Landroid/content/SharedPreferences;->getString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v3

    iput-object v3, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->cookie:Ljava/lang/String;

    .line 131
    if-eqz v0, :cond_0

    .line 132
    const-string v3, "sharetitle"

    invoke-virtual {v0, v3}, Landroid/os/Bundle;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v3

    iput-object v3, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->sharetitle:Ljava/lang/String;

    .line 133
    const-string v3, "sharetitleyd"

    invoke-virtual {v0, v3}, Landroid/os/Bundle;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v3

    iput-object v3, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->sharetitleyd:Ljava/lang/String;

    .line 134
    const-string v3, "shareurl"

    invoke-virtual {v0, v3}, Landroid/os/Bundle;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v3

    iput-object v3, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->shareurl:Ljava/lang/String;

    .line 135
    const-string v3, "tie"

    invoke-virtual {v0, v3}, Landroid/os/Bundle;->getBoolean(Ljava/lang/String;)Z

    move-result v3

    iput-boolean v3, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->tie:Z

    .line 136
    const-string v3, "ispic"

    invoke-virtual {v0, v3}, Landroid/os/Bundle;->getBoolean(Ljava/lang/String;)Z

    move-result v3

    iput-boolean v3, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->ispic:Z

    .line 137
    const-string v3, "seturl"

    invoke-virtual {v0, v3}, Landroid/os/Bundle;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v3

    iput-object v3, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->seturl:Ljava/lang/String;

    .line 138
    const-string v3, "shareimg"

    invoke-virtual {v0, v3}, Landroid/os/Bundle;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v3

    iput-object v3, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->shareimg:Ljava/lang/String;

    .line 140
    const-string v3, "sharefloor"

    invoke-virtual {v0, v3}, Landroid/os/Bundle;->getBoolean(Ljava/lang/String;)Z

    move-result v3

    iput-boolean v3, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->sharefloor:Z

    .line 141
    const-string v3, "board"

    invoke-virtual {v0, v3}, Landroid/os/Bundle;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v3

    iput-object v3, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->board:Ljava/lang/String;

    .line 142
    const-string v3, "postid"

    invoke-virtual {v0, v3}, Landroid/os/Bundle;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v3

    iput-object v3, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->postid:Ljava/lang/String;

    .line 143
    const-string v3, "pnum"

    invoke-virtual {v0, v3}, Landroid/os/Bundle;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v3

    iput-object v3, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->pnum:Ljava/lang/String;

    .line 145
    const-string v3, "sharetype"

    invoke-virtual {v0, v3}, Landroid/os/Bundle;->getInt(Ljava/lang/String;)I

    move-result v3

    iput v3, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->sharetype:I

    .line 146
    const-string v3, "imgname"

    invoke-virtual {v0, v3}, Landroid/os/Bundle;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v3

    iput-object v3, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->imgname:Ljava/lang/String;

    .line 152
    :cond_0
    iget-object v3, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->sharetitle:Ljava/lang/String;

    if-eqz v3, :cond_1

    .line 153
    iget-object v3, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->sharetitle:Ljava/lang/String;

    const-string v4, "\u539f\u6587\uff1a"

    const-string v5, ""

    invoke-virtual {v3, v4, v5}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;

    move-result-object v3

    iput-object v3, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->sharetitle:Ljava/lang/String;

    .line 155
    :cond_1
    iget-object v3, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->sharetitleyd:Ljava/lang/String;

    if-eqz v3, :cond_2

    .line 156
    iget-object v3, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->sharetitleyd:Ljava/lang/String;

    const-string v4, "\u539f\u6587\uff1a"

    const-string v5, ""

    invoke-virtual {v3, v4, v5}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;

    move-result-object v3

    iput-object v3, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->sharetitleyd:Ljava/lang/String;

    .line 159
    :cond_2
    iget-boolean v3, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->ispic:Z

    if-eqz v3, :cond_6

    .line 160
    iget v3, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->sharetype:I

    if-ne v3, v7, :cond_5

    .line 161
    new-instance v3, Ljava/lang/StringBuilder;

    const-string v4, "//\u5206\u4eab\u7f51\u6613\u56fe\u96c6:"

    invoke-direct {v3, v4}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    iget-object v4, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->sharetitle:Ljava/lang/String;

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    const-string v4, " "

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    iput-object v3, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->messageyd:Ljava/lang/String;

    .line 162
    new-instance v3, Ljava/lang/StringBuilder;

    const-string v4, "//\u5206\u4eab\u7f51\u6613\u56fe\u96c6:"

    invoke-direct {v3, v4}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    iget-object v4, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->sharetitleyd:Ljava/lang/String;

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    const-string v4, " "

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    iput-object v3, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->message:Ljava/lang/String;

    .line 188
    :goto_0
    const-string v3, "input_method"

    invoke-virtual {p0, v3}, Lcom/netease/newsreader/activity/ShareToMicroBlog;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Landroid/view/inputmethod/InputMethodManager;

    .line 189
    .local v1, imm:Landroid/view/inputmethod/InputMethodManager;
    iget-object v3, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->edit_postmessage:Landroid/widget/EditText;

    invoke-virtual {v1, v3, v9}, Landroid/view/inputmethod/InputMethodManager;->showSoftInput(Landroid/view/View;I)Z

    .line 190
    iget-object v3, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->shareurl:Ljava/lang/String;

    if-eqz v3, :cond_4

    const-string v3, ""

    iget-object v4, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->shareurl:Ljava/lang/String;

    invoke-virtual {v3, v4}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v3

    if-nez v3, :cond_4

    .line 192
    const/16 v3, 0x14

    invoke-static {v3}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v2

    .line 194
    .local v2, shortlenght:Ljava/lang/Integer;
    iget v3, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->sharetype:I

    if-eq v3, v10, :cond_3

    .line 197
    iget-boolean v3, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->ispic:Z

    if-eqz v3, :cond_c

    .line 198
    iget v3, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->sharetype:I

    if-eq v3, v7, :cond_3

    .line 199
    invoke-static {v8}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v2

    .line 216
    :cond_3
    :goto_1
    iget v3, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->limit1:I

    invoke-virtual {v2}, Ljava/lang/Integer;->intValue()I

    move-result v4

    sub-int/2addr v3, v4

    iput v3, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->limit1:I

    .line 217
    iget v3, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->limit2:I

    invoke-virtual {v2}, Ljava/lang/Integer;->intValue()I

    move-result v4

    sub-int/2addr v3, v4

    iput v3, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->limit2:I

    .line 219
    .end local v2           #shortlenght:Ljava/lang/Integer;
    :cond_4
    iget-object v3, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->reflashormoreDataHandler:Landroid/os/Handler;

    invoke-virtual {v3, v10}, Landroid/os/Handler;->sendEmptyMessage(I)Z

    .line 220
    invoke-direct {p0}, Lcom/netease/newsreader/activity/ShareToMicroBlog;->initAccount()V

    .line 221
    return-void

    .line 164
    .end local v1           #imm:Landroid/view/inputmethod/InputMethodManager;
    :cond_5
    new-instance v3, Ljava/lang/StringBuilder;

    const-string v4, "//\u5206\u4eab\u7f51\u6613\u56fe\u96c6:"

    invoke-direct {v3, v4}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    iget-object v4, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->sharetitle:Ljava/lang/String;

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    const-string v4, " "

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    iput-object v3, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->message:Ljava/lang/String;

    goto :goto_0

    .line 166
    :cond_6
    iget-boolean v3, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->tie:Z

    if-eqz v3, :cond_8

    .line 167
    iget v3, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->sharetype:I

    if-ne v3, v7, :cond_7

    .line 168
    new-instance v3, Ljava/lang/StringBuilder;

    const-string v4, "//\u5206\u4eab\u7f51\u6613\u8ddf\u8d34:"

    invoke-direct {v3, v4}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    iget-object v4, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->sharetitle:Ljava/lang/String;

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    const-string v4, " "

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    iput-object v3, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->messageyd:Ljava/lang/String;

    .line 169
    new-instance v3, Ljava/lang/StringBuilder;

    const-string v4, "//\u5206\u4eab\u7f51\u6613\u8ddf\u8d34:"

    invoke-direct {v3, v4}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    iget-object v4, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->sharetitleyd:Ljava/lang/String;

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    const-string v4, " "

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    iput-object v3, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->message:Ljava/lang/String;

    goto/16 :goto_0

    .line 171
    :cond_7
    new-instance v3, Ljava/lang/StringBuilder;

    const-string v4, "//\u5206\u4eab\u7f51\u6613\u8ddf\u8d34:"

    invoke-direct {v3, v4}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    iget-object v4, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->sharetitle:Ljava/lang/String;

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    const-string v4, " "

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    iput-object v3, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->message:Ljava/lang/String;

    goto/16 :goto_0

    .line 173
    :cond_8
    iget-boolean v3, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->sharefloor:Z

    if-eqz v3, :cond_a

    .line 174
    iget v3, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->sharetype:I

    if-ne v3, v7, :cond_9

    .line 175
    new-instance v3, Ljava/lang/StringBuilder;

    const-string v4, "//\u5206\u4eab\u7f51\u6613\u8ddf\u8d34:"

    invoke-direct {v3, v4}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    iget-object v4, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->sharetitle:Ljava/lang/String;

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    const-string v4, " "

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    iput-object v3, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->messageyd:Ljava/lang/String;

    .line 176
    new-instance v3, Ljava/lang/StringBuilder;

    const-string v4, "//\u5206\u4eab\u7f51\u6613\u8ddf\u8d34:"

    invoke-direct {v3, v4}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    iget-object v4, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->sharetitleyd:Ljava/lang/String;

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    const-string v4, " "

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    iput-object v3, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->message:Ljava/lang/String;

    goto/16 :goto_0

    .line 178
    :cond_9
    new-instance v3, Ljava/lang/StringBuilder;

    const-string v4, "//\u5206\u4eab\u7f51\u6613\u8ddf\u8d34:"

    invoke-direct {v3, v4}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    iget-object v4, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->sharetitle:Ljava/lang/String;

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    const-string v4, " "

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    iput-object v3, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->message:Ljava/lang/String;

    goto/16 :goto_0

    .line 181
    :cond_a
    iget v3, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->sharetype:I

    if-ne v3, v7, :cond_b

    .line 182
    new-instance v3, Ljava/lang/StringBuilder;

    const-string v4, "//\u5206\u4eab\u7f51\u6613\u65b0\u95fb:"

    invoke-direct {v3, v4}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    iget-object v4, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->sharetitle:Ljava/lang/String;

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    const-string v4, " "

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    iput-object v3, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->messageyd:Ljava/lang/String;

    .line 183
    new-instance v3, Ljava/lang/StringBuilder;

    const-string v4, "//\u5206\u4eab\u7f51\u6613\u65b0\u95fb:"

    invoke-direct {v3, v4}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    iget-object v4, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->sharetitleyd:Ljava/lang/String;

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    const-string v4, " "

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    iput-object v3, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->message:Ljava/lang/String;

    goto/16 :goto_0

    .line 185
    :cond_b
    new-instance v3, Ljava/lang/StringBuilder;

    const-string v4, "//\u5206\u4eab\u7f51\u6613\u65b0\u95fb:"

    invoke-direct {v3, v4}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    iget-object v4, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->sharetitle:Ljava/lang/String;

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    const-string v4, " "

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    iput-object v3, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->message:Ljava/lang/String;

    goto/16 :goto_0

    .line 201
    .restart local v1       #imm:Landroid/view/inputmethod/InputMethodManager;
    .restart local v2       #shortlenght:Ljava/lang/Integer;
    :cond_c
    iget-boolean v3, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->sharefloor:Z

    if-eqz v3, :cond_d

    .line 203
    iget v3, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->sharetype:I

    if-eq v3, v7, :cond_3

    .line 204
    invoke-static {v8}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v2

    goto/16 :goto_1

    .line 208
    :cond_d
    iget v3, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->sharetype:I

    if-eq v3, v7, :cond_3

    .line 209
    iget-object v3, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->shareimg:Ljava/lang/String;

    if-eqz v3, :cond_3

    const-string v3, ""

    iget-object v4, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->shareimg:Ljava/lang/String;

    invoke-virtual {v3, v4}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v3

    if-nez v3, :cond_3

    iget v3, p0, Lcom/netease/newsreader/activity/ShareToMicroBlog;->sharetype:I

    if-nez v3, :cond_3

    .line 210
    invoke-static {v8}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v2

    goto/16 :goto_1
.end method

.method protected onResume()V
    .locals 0

    .prologue
    .line 476
    invoke-super {p0}, Lcom/netease/newsreader/activity/BaseActivity;->onResume()V

    .line 477
    return-void
.end method
